// src/main/java/com/example/demo/entity/Menu.java
package cn.edu.lingnan.user.pojos;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class Menu {
    private Integer menuId;
    private String menuName;
    private Integer parentId;
    private String path;
    private String component;
    private String icon;
    private Integer status;
    private Integer sort;
    private Integer delFlag;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String remark;
    private List<Menu> children; // 用于构建树形结构


}
